﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NewDDSys.Entity;
using NewDDSys.Factory;
using NewDDSys.IBLL;
using System.Data;

namespace NewDDSys.BLL
{
    public class JddxBLL:IJddxBLL
    {
        public int AddJddx(JddxInfo dx)
        {
            return DALFactory.CreateJddxDAL().AddJddx(dx);
        }
        public int UpdateJddx(string num, string banbie, string banzu, int kn, int kw, int zn, decimal hx)
        {
            return DALFactory.CreateJddxDAL().UpdateJddx(num, banbie, banzu, kn, kw, zn, hx);
        }
        public int Del(string num)
        {
            return DALFactory.CreateJddxDAL().Del(num);
        }
        public string AUTOID()
        {
            return DALFactory.CreateJddxDAL().AUTOID();
        }
        public DataSet Select(string num)
        {
            return DALFactory.CreateJddxDAL().Select(num);
        }
        public DataSet SelectByDay(string sday)
        {
            return DALFactory.CreateJddxDAL().SelectByDay(sday);
        }
        public DataSet dxqk()
        {
            DataSet ds = DALFactory.CreateJddxDAL().jddxqk();
            return ds;
        }
        public DataSet dxqkH(string bt, string et)
        {
            return DALFactory.CreateJddxDAL().jddxqkH(bt, et);
        }
        public string hxkc()
        {
            return DALFactory.CreateJddxDAL().hxkc();
        }
    }
}
